package com.xiaotu.factory.simplefactory.pizzastore.order;

/**
 * @author 张晓
 * @create 2020-06-19 10:40
 */
//相当于一个客户端，发出订购任务
public class PizzaStore {
    public static void main(String[] args) {
        //new OrderPizza();
        //使用简单工厂模式
        //new OrderPizza(new SimpleFactory());
        new OrderPizza2();
        System.out.println("~~退出程序~~");
    }
}
